package com.erp.vo;

/**
 * 只需要code和name时 下拉列表 返回Vo
 */
public class SelectVo {
    private String code;
    private String name;
    private String paymentType;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append(" \"code\":\"").append(code).append('\"');
        sb.append(", \"name\":\"").append(name).append('\"');
        sb.append(", \"paymentType\":\"").append(paymentType).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
